package com.zhkj.txg.module.mine.entity

import com.chad.library.adapter.base.entity.node.BaseNode
import com.google.gson.annotations.SerializedName
import com.zhkj.lib.http.BaseResponse

data class DiamondResponse(
    val data: MutableList<UserCardEntity> = mutableListOf()
) : BaseResponse()

data class UserCardEntity(
    val id: Int,
    @SerializedName("type_id")
    val typeId: String = "",
    val name: String = "",
    val image: String = "",
    @SerializedName("extend")
    val extend: MutableList<ExtendEntity> = mutableListOf(),
    val explain: String = "",
    @SerializedName("status_text")
    val statusText: String = ""
)

data class ExtendEntity(
    val name: String = "",
    val price: String = "",
    @SerializedName("valid_date")
    val validDate: String = ""
)
//id": 8,
//"type_id": "0",
//"name": "会员卡",
//"image": "",
//"extend": null,
//"explain": "",
//"status_text": ""
//"name": "1",
//"price": "1",
//"valid_date": "1"